#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/aspnet:6.0

#拷贝项目publish文件夹中的所有文件到 docker容器中的publish文件夹中  
COPY ./BaseAuthRole.Schedule /publish

#设置工作目录为 `/publish` 文件夹，即容器启动默认的文件夹
WORKDIR /publish

#设置Docker
ENTRYPOINT ["dotnet", "BaseAuthRole.Schedule.dll"]